package com;

import com.topsoft.common.AppContext;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
public class AppClient {

    public static void main(String[] args) {
        long start = System.currentTimeMillis();
        ApplicationContext ac = SpringApplication.run(AppClient.class, args);
        
//        //测试
//        WebSocketClient webSocketClient= new WebSocketClient(SystemHandler.class,"websocket.urlSystem");
//        new Thread(webSocketClient).start();//开启新线程

        AppContext.initStart(start,ac);
    }
}
